<?
extract($_REQUEST);
require 'modelo/m.plan.php';
switch($action)
{
	case "newPlan":
	require 'vista/v.crearPlan.php';
	break;
	
	case "updatePlan":
		$planes=new plan();
		$lstPlan=$planes->listPlan();
		require 'vista/v.updatePlan.php';
	break;
	
	case "deletePlan":
		$planes=new plan();
		$lstPlan=$planes->listPlan();
		require_once 'vista/v.deletePlan.php';
	break;
}
?>